package pw.ee.mgr.nbp.ws;

import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import pw.ee.mgr.nbp.exceptions.NBPServiceException;
import pw.ee.mgr.nbp.model.CustomerAccount;

@WebService(name="NBPService")
@SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.BARE)
public interface NBPService {
	
    @WebResult(name="verificationResult")
    @WebMethod(action="verifyBankAccount")
	boolean verifyBankAccount(CustomerAccount customerAccount) throws NBPServiceException;
    
    @WebResult(name="verificationResult")
    @WebMethod(action="verifyBankAccount")
	void registerAccountCreationNofitication(String status) throws NBPServiceException;
}
